const express = require("express")

const app = express()

app.get("/user/login", (req, res, next) => {

    console.log("this is a local middleware")
    next()
}, (req, res, next) => {

    console.log("this is also a local middleware")
    next()

}, (req, res) => {

    res.send("user login");
})

app.listen(4000, () => {
    console.log("server start")
})